import { createApp } from "vue";
import App from "./App.vue";
import router from './router'
import { InstallCodeMirror } from "codemirror-editor-vue3"; 
import VueClipboard from 'vue-clipboard3';

// If you want to use ElMessage, import it.
import "element-plus/theme-chalk/src/message.scss";


const app = createApp(App);
app.use(router);
app.use(InstallCodeMirror); 
// 注册 vue-clipboard3 插件
app.use(VueClipboard);
app.mount('#app');